<demo>
## 文字居中
</demo>
<!-- #region snippet -->
<template>
  <div class="example-alert-block">
    <div class="example-demonstration">使用 center 属性来让文字水平居中。</div>
    <div class="alert-demo-container">
      <m-alert title="Success alert" type="success" center show-icon />
      <m-alert title="Warning alert" type="warning" center show-icon />
      <m-alert title="Error alert" type="error" center show-icon />
    </div>
  </div>
</template>
<!-- #endregion snippet -->

